home *** CD-ROM | disk | FTP | other *** search
Text File | 1990-10-25 | 8.5 KB | 242 lines | [TEXT/MPS ] |
- # Copyright © 1986-1990 Apple Computer, Inc. All rights reserved.
-
- ################################################################################
- # Stuff you probably don't want to mess with
- ################################################################################
-
- # {MAShortVersion} - The version of MacApp.
- SET MAShortVersion "2.0.1"
- EXPORT MAShortVersion
-
- # {MALongVersion} - The version of MacApp.
- SET MALongVersion "MacApp® {MAShortVersion}, © 1986-1990 Apple Computer, Inc. All rights reserved."
- EXPORT MALongVersion
-
- # {MAPinterfaces} - The path to the MacApp Pascal Interfaces.
- SET MAPinterfaces "{MacApp}Interfaces:PInterfaces:"
- EXPORT MAPinterfaces
-
- # {MARIncludes} - The path to the MacApp Resource Interfaces.
- SET MARIncludes "{MacApp}Interfaces:RIncludes:"
- EXPORT MARIncludes
-
- # {MAAIncludes} - The path to the MacApp Assembler Interfaces (if supplied).
- SET MAAIncludes "{MacApp}Interfaces:AIncludes:"
- EXPORT MAAIncludes
-
- # {MACIncludes} - The path to the MacApp C Interfaces (if supplied).
- SET MACIncludes "{MacApp}Interfaces:CIncludes:"
- EXPORT MACIncludes
-
- # {MALibraries} - The path to the MacApp link libraries (and MacApp’s source).
- SET MALibraries "{MacApp}Libraries:"
- EXPORT MALibraries
-
- # {MATools} - The path to the MacApp Tools.
- SET MATools "{MacApp}Tools:"
- EXPORT MATools
-
- # {MAExamples} - The path to the MacApp Example folders.
- SET MAExamples "{MacApp}Examples:"
- EXPORT MAExamples
- # Compatibility
- Set MASamples "{MAExamples}"
- EXPORT MASamples
-
- # {MALoadFiles} - The path to use when compilers create load/dump or symbol files.
- SET MALoadFiles "{ShellDirectory}Load Files:"
- EXPORT MALoadFiles
-
- # {MATemporaries} - The path to use when MABuild creates temporary files.
- SET MATemporaries "{ShellDirectory}"
- EXPORT MATemporaries
-
- # {MAMakeFileExtension} - the filename extension to use for MABuild "make" files
- SET MAMakeFileExtension ".MAMake"
- EXPORT MAMakeFileExtension
-
- # {MAMakeOutfileExtension} - the filename extension to use for Make's outfile
- SET MAMakeOutfileExtension ".MakeIt"
- EXPORT MAMakeOutfileExtension
-
- # {MABuildFlagsExtension} - the filename extension to use for MABuild's buildflags
- SET MABuildFlagsExtension ".BuildFlags"
- EXPORT MABuildFlagsExtension
-
- # {MASetupExtension} - the filename extension to use for MABuild's autoexecute file
- SET MASetupExtension ".SetupBuild"
- EXPORT MASetupExtension
-
- # {MATempFilesExtension} - the filename extension to use for MABuild's tempfiles
- SET MATempFilesExtension ".Temp"
- EXPORT MATempFilesExtension
-
- # {MASeparateObjectsPrefix} - The prefix to put on the folder names generated for
- # Separate objects builds.
- SET MASeparateObjectsPrefix "."
- EXPORT MASeparateObjectsPrefix
-
- # {MANoSeparateObjectsFolder} - The folder name used for NON-Separate objects builds.
- SET MANoSeparateObjectsFolder "Object Files"
- EXPORT MANoSeparateObjectsFolder
-
- # {MADirectorySeparator} - The character to use for directory separation.
- SET MADirectorySeparator ":"
- EXPORT MADirectorySeparator
-
- # {MAAutoBuild} - List of MacApp targets to automagically build
- SET MAAutoBuild "{MALibraries}MacApp.Lib"
- EXPORT MAAutoBuild
-
- ################################################################################
- # where to find tools
- ################################################################################
- # {MAAsm} - The Name of the Assembler
- SET MAAsm "Asm"
- EXPORT MAAsm
-
- # {MAC} - The Name of the C Compiler
- SET MAC "C"
- EXPORT MAC
-
- # {MACPlus} - The Name of the C++ Compiler
- SET MACPlus "CPlus"
- EXPORT MACPlus
-
- # {MAEcho} - The Name of the Echo command
- SET MAEcho "Echo"
- EXPORT MAEcho
-
- # {MALib} - The Name of the Librarian
- SET MALib "Lib"
- EXPORT MALib
-
- # {MALink} - The Name of the Linker
- SET MALink "Link"
- EXPORT MALink
-
- # {MAMake} - The Name of the Make Tool
- SET MAMake "Make"
- EXPORT MAMake
-
- # {MAPascal} - The Name of the Object Pascal Compiler
- SET MAPascal "Pascal"
- EXPORT MAPascal
-
- # {MAPostRez} - The Name of the PostRez Tool
- SET MAPostRez "PostRez"
- EXPORT MAPostRez
-
- # {MARez} - The Name of the Resource Compiler
- SET MARez "Rez"
- EXPORT MARez
-
- # {Commands} - Directories to search for commands.
- SET Commands "{MATools},{Commands}"
- EXPORT Commands
-
- # {MAAStructMacs} - Directory to search for structure macros.
- SET MAAStructMacs "{MPW}Interfaces:AStructMacs:"
- EXPORT MAAStructMacs
-
- # {MAShellVersion} - Version String for MPW.
- Unset ®1
- ( Evaluate "`Version`" =~ /MPW Shell Version ([¬ ]+)®1≈/ ) ∑ Dev:Null
- Set MAShellVersion "{®1}"
- Export MAShellVersion
-
-
- ################################################################################
- # Stuff you may want to change
- ################################################################################
- # {MABuildDefaults} - default options for MABuild.
- SET MABuildDefaults ∂
- "-p ∂
- -Asm '-case on -d FALSE=0 -d TRUE=1' ∂
- -C '-d SHRT_MAX=32767 -d FALSE=0 -d TRUE=1' ∂
- -CPlus '-d SHRT_MAX=32767 -d LONG_MAX=2147483647 -d FALSE=0 -d TRUE=1' ∂
- -Link '-srt -mf -msg nodup,nowarn' ∂
- -Make -w ∂
- -NeedsSystem6 ∂
- -Pascal -n ∂
- -Rez -rd ∂
- ∂
- -RenameFlag '' 'NoDebug NoTemplate NoSys6' ∂
- -RenameFlag InTe 'NoDebug Inspector NoSys6' ∂
- -RenameFlag InTeSm 'NoDebug Sym Inspector NoSys6' ∂
- -RenameFlag NmDbInUnPeRaTr 'Debug NoTemplate NoSys6' ∂
- -RenameFlag NmDbInUnPeRaTrTe 'Debug NoSys6' ∂
- -RenameFlag NmDbInUnPeRaTrTeSm 'Debug Sym NoSys6' ∂
- -RenameFlag Te 'NoDebug NoSys6' ∂
- -RenameFlag TeSm 'NoDebug Sym NoSys6' ∂
- ∂
- -RenameFlag S6 'NoDebug NoTemplate' ∂
- -RenameFlag S6Cq20FpNmDbInUnPeRaTrTe 'Debug MacII+' ∂
- -RenameFlag S6Cq20FpNmDbInUnPeRaTrTeSm 'Debug Sym MacII+' ∂
- -RenameFlag S6Cq20FpNmInTe 'NoDebug Names MacII+ Insp' ∂
- -RenameFlag S6Cq20FpNmTe 'NoDebug Names MacII+' ∂
- -RenameFlag S6Cq20FpTe 'NoDebug MacII+' ∂
- -RenameFlag S6Cq20FpTeSm 'NoDebug Sym MacII+' ∂
- -RenameFlag S6InTe 'NoDebug Inspector' ∂
- -RenameFlag S6InTeSm 'NoDebug Sym Inspector' ∂
- -RenameFlag S6NmDbInUnPeRaTr 'Debug NoTemplate' ∂
- -RenameFlag S6NmDbInUnPeRaTrTe 'Debug Files' ∂
- -RenameFlag S6NmDbInUnPeRaTrTeEx 'Debug Experimental' ∂
- -RenameFlag S6NmDbInUnPeRaTrTeSm 'Debug Sym' ∂
- -RenameFlag S6NmInTe 'NoDebug Names Inspector' ∂
- -RenameFlag S6NmTe 'NoDebug Names' ∂
- -RenameFlag S6Te 'Non-Debug Files' ∂
- -RenameFlag S6TeEx 'NoDebug Experimental' ∂
- -RenameFlag S6TeSm 'NoDebug Sym' ∂
- ∂
- -RenameFlag DoDaDoDa EiEiOh ∂
- "
-
- # Include the following line if you wish to use MultiFinder memory with MPW Lib 3.1 or greater
- #SET MABuildDefaults "{MABuildDefaults} -Lib -mf"
-
- # Include the following line if you wish to use the new FORWARD syntax in Pascal 3.1 or greater
- #SET MABuildDefaults "{MABuildDefaults} -Pascal -FORWARD -d qHasForward=TRUE"
-
- # Include the following line if you wish to use external symbol dumpfiles for Pascal or C++.
- # Otherwise Pascal just dumps the symbol tables in the resource fork of the source and C++
- # doesn't keep external symbol tables. Only good for C++ with load/dump support
- SET MABuildDefaults "{MABuildDefaults} -PasLoad -CPlusLoad"
-
- # Include the following line if want to have MABuild keep MacApp built for you automatically.
- # MacApp is normally shipped with noDebug and debug libraries already built and if you don't use
- # any other variations it is a waste of time (>14 sec per build) to always run Make against the
- # MacApp MAMake file. If you are on the MacApp team or simply like to tweek MacApp, it is annoying
- # to NOT have -AutoBuild as the default.
- #SET MABuildDefaults "{MABuildDefaults} -AutoBuild"
-
- # for compatibility with MPW 3.1 ( the currently released product )
- # for MPW 3.2 or later remove or comment out the following line
- SET MABuildDefaults "{MABuildDefaults} -d qMPW31=TRUE"
-
- EXPORT MABuildDefaults
-
- # {MAUserAutoBuild} - List of User targets to automagically build
- SET MAUserAutoBuild ""
- EXPORT MAUserAutoBuild
-
- # {MADone} - Command[s] to run when a build is successful. (could execute a script)
- SET MADone "Beep 3D,15,128"
- EXPORT MADone
-
- # {MAFailed} - Command[s] to run when a build fails. (could execute a script)
- SET MAFailed "Beep d,20"
- EXPORT MAFailed
-
-
- # Since Startup is distributed with MacApp, you may want to have other
- # startup that will not be overwritten with a new release.
- # Other personalized startup may be named Startup•≈ - such as
- # "Startup•John" or "Startup•Tom" (• is option-8).
- # These files should be located in the directory containing MacApp.
-
- For __Startup__i in `(Files "{MacApp}"Startup•≈ || Set Status 0) ≥ dev:null`
- Execute "{__Startup__i}"
- End
- Unset __Startup__i
-